;$(function () {

    $("#saveBtn").click(function () {
        if ($('#form').validationEngine('validate')) {
            return $.post(basePath + "/studentManager/updateStudentInfo.json", $("#form").serialize(), function () {
                BootstrapDialog.show({
                    title: "提示框",
                    message: "保存成功",
                    buttons: [{
                        label: "确认",
                        action: function (dialog) {
                            dialog.close();
                        }
                    }]
                });
            }, 'json');
        }
    });
});